package com.zq.common.base;

/**
 * Created by system.out on 2017/3/29.
 */
public interface BaseStorage<T> {
    boolean add(T entity);

    boolean update(T entity);

    T get(int id);

    boolean delete(int id);
}
